﻿ALTER TABLE [dbo].[tlog_State]
    ADD CONSTRAINT [FK_tlog_State_t_State_To] FOREIGN KEY ([StateFrom]) REFERENCES [dbo].[t_State] ([ID]) ON DELETE NO ACTION ON UPDATE NO ACTION;


GO
ALTER TABLE [dbo].[tlog_State] NOCHECK CONSTRAINT [FK_tlog_State_t_State_To];

